package com.example.Domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "two_inform")
public class Inform {
    @TableId
    private Integer id;
    /*
     * 通知标题
     * */
    @TableField(value = "inform_name")
    private String informName;

    /*
     * 发布通知时间
     *
     * */
    @TableField(value = "inform_time")
    private Date informTime;
    /*
     *描述详情
     * */
    @TableField(value = "inform_describe")
    private String informDescribe;
    /*
     * pdf上传
     * */
    @TableField(value = "inform_pdf")
    private String informPdf;

    /*
     * 状态
     * */
    @TableField(value = "inform_state")
    private Integer informState;
    /*
     * 浏览人数
     * */
    @TableField(value = "inform_people")
    private Integer informPeople;

    /*
     * 最后更新时间
     * */
    @TableField(value = "end_time")
    private Date endTime;

    /*
     * 发布人id
     * */
    @TableField(value = "user_id")
    private Integer userId;
    /*
    * 接收人员
    * */
    @TableField(value = "inform_accept")
    private String informAccept;

    /*
     * 发布人名字
     * */
    @TableField(exist = false)
    private List<User> loginName;


}
